export default {
  path: "/goods",
  name: "/goods/save",
  meta: {
    icon: "mingcute:user-star-fill",
    title: "商品管理",
    rank: 3
  },
  children: [
    {
      path: "/goods/list",
      name: "goodsList",
      component: () => import("@/views/goodsManage/goodsList.vue"),
      meta: {
        icon: "prime:align-left",
        title: "商品列表",
        showParent: true
      }
    },
    {
      path: "/goods/save",
      name: "goodsSave",
      component: () => import("@/views/goodsManage/goodsSave.vue"),
      meta: {
        icon: "ant-design:file-add-outlined",
        title: "新增商品",
        showParent: true
      }
    },
    {
      path: "/goods/revise/:id",
      name: "goodsRevise",
      component: () => import("@/views/goodsManage/goodsRevise.vue"),
      meta: {
        title: "编辑出货单",
        showParent: true,
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
